package com.ithuameng.admin.constants;

/**
 * 字符串静态类
 *
 * @author ithuameng
 */
public class CommonConstants {

    /**
     * 默认日期时间格式
     */
    public static final String DEFAULT_DATE_TIME_FORMAT = "yyyy-MM-dd HH:mm:ss";

    /**
     * 默认日期格式
     */
    public static final String DEFAULT_DATE_FORMAT = "yyyy-MM-dd";

    /**
     * 默认时间格式
     */
    public static final String DEFAULT_TIME_FORMAT = "HH:mm:ss";

    public static final String BEARER = "Bearer";

    public static final String USER_ID = "id";

    public static final String USER_NAME = "name";

    public static final String USER_TOKEN = "token";

    public static final String PERMESSION_PREFIX = "SS::";

    public static final String REIDS_KEY_PWY_TOKEN = "pwy::token::";

    /**
     * http请求
     */
    public static final String HTTP = "http://";

    /**
     * https请求
     */
    public static final String HTTPS = "https://";

    /**
     * Layout组件标识
     */
    public final static String LAYOUT = "Layout";

    /**
     * ParentView组件标识
     */
    public final static String PARENT_VIEW = "ParentView";

    /**
     * InnerLink组件标识
     */
    public final static String INNER_LINK = "InnerLink";

    /**
     * 字典管理 cache key
     */
    public static final String SYS_DICT_KEY = "sys_dict:";
}
